﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="NewsDetail.aspx.cs" Inherits="TruongVuWebsite.Admin.NewsDetail" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <form action="NewsManagement.aspx">
            <table width="100%">
                <tr>
                    <td valign="top" align="right" width="100px" style="font-weight: bold;">Ngày tạo:</td>
                    <td width="10px"></td>
                    <td align="left">
                        <asp:TextBox runat="server" ID="DateTimeTextBox" TextMode="Date"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td valign="top" align="right" width="100px" style="font-weight: bold;">Hình ảnh:</td>
                    <td width="10px"></td>
                    <td align="left">
                        <asp:Image
                            ID="Image1"
                            runat="server"
                            Width="120"
                            Height="150"
                            ToolTip="Beautiful Bird"
                            BorderWidth="1"
                            BorderStyle="Solid"
                            BorderColor="Black"
                            ViewStateMode="Disabled" />
                    </td>                    
                </tr>
                <tr>
                    <td></td>
                    <td width="10px"></td>
                    <td>
                        <asp:FileUpload ID="FileUploadControl" runat="server" />
                    </td>                    
                </tr>
                <tr>
                    <td></td>
                    <td width="10px"></td>
                    <td>
                        <asp:Button runat="server" ID="UploadButton" Text="Upload" OnClick="UploadButton_Click" />
                    </td>                    
                </tr>
                <tr>
                    <td valign="top" align="right" width="100px" style="font-weight: bold;">Tiêu đề:</td>
                    <td width="10px"></td>
                    <td align="left">
                        <asp:TextBox runat="server" ID="txtTitle" Width="100%"></asp:TextBox></td>
                </tr>
                <tr>
                    <td valign="top" align="right" width="100px" style="font-weight: bold;">Miêu tả vắn tắt:</td>
                    <td width="10px"></td>
                     <td align="left">
                        <asp:TextBox runat="server" ID="HighlightTextBox" Width="100%" TextMode="MultiLine" Height="80px"/></td>
                </tr>

                <tr>
                    <td valign="top" align="right" style="font-weight: bold;">Nội dung:</td>
                    <td width="10px"></td>
                    <td align="left">
                        <FCKeditorV2:FCKeditor ID="txtContent" runat="server" AutoDetectLanguage="false" Height="500"
                            ToolbarSet="" BasePath="~/Admin/fckeditor/" ViewStateMode="Disabled" />
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td></td>
                    <td>
                        <asp:ImageButton ID="btnSubmit" runat="server" ImageUrl="~/App_Themes/Admin/Images/forms/form_submit.gif" ImageAlign="Right" OnClick="btnSubmit_Click" 
                            type="submit"/></td>
                </tr>
            </table>
        </form>
    </div>
</asp:Content>
